package com.eastfair.venueservice.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.home.dto.ReportDrawingAuditHistoryDTO;
import com.eastfair.home.entity.ReportDrawingAudit;
import com.eastfair.venueservice.dto.ReportVenueDrawingAuditHistoryDTO;
import com.eastfair.venueservice.entity.ReportVenueDrawingAudit;
import com.eastfair.venueservice.entity.ReportVenueDrawingAuditHistory;
import com.eastfair.venueservice.vo.ReportVenueDrawingAuditHistoryVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 一键报馆图纸审核记录历史
 * </p>
 *
 * @author dq
 * @date 2022-09-16
 */
@Deprecated
public interface ReportVenueDrawingAuditHistoryService extends SuperService<ReportVenueDrawingAuditHistory> {

    /**
     * 图纸分类审核历史ID查询图纸历史列表.
     *
     * @param reportVenueDrawingCategoryAuditHistoryId the report venue drawing category audit history id
     * @return the list
     */
    List<ReportVenueDrawingAuditHistoryVO> listByReportVenueDrawingCategoryAuditHistoryId(Long reportVenueDrawingCategoryAuditHistoryId);

    /**
     * 查询图纸审核历史.
     *
     * @param historyDTO the history dto
     * @return the list
     */
    List<ReportVenueDrawingAuditHistory> listReportVenueDrawingAuditHistory(ReportVenueDrawingAuditHistoryDTO historyDTO);

    /**
     * 保存图纸审核历史.
     *
     * @param historyDTO the history dto
     * @return the boolean
     */
    boolean saveReportVenueDrawingAuditHistory(ReportVenueDrawingAuditHistoryDTO historyDTO);

    /**
     * 批量保存图纸审核历史.
     *
     * @param list                                     the list
     * @param reportVenueDrawingCategoryAuditHistoryId the report venue drawing category audit history id
     * @return the boolean
     */
    boolean saveBatch(List<ReportVenueDrawingAuditHistoryDTO> list, Long reportVenueDrawingCategoryAuditHistoryId);

    /**
     * 图纸审核列表转为图纸审核历史列表.
     *
     * @param reportDrawingAudits the report drawing audits
     * @return the list
     */
    List<ReportVenueDrawingAuditHistoryDTO> toReportVenueDrawingAuditHistoryDTOList(List<ReportVenueDrawingAudit>  reportDrawingAudits);
}